package com.example.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.entity.Book;
import com.example.entity.Price;
import com.example.mapper.BookMapper;
import com.example.service.BookService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 书 服务实现类
 * </p>
 *
 * @author fanbinbing
 * @since 2021-12-23
 */
@Service
public class BookServiceImpl extends ServiceImpl<BookMapper, Book> implements BookService {


    @Resource
    private BookMapper bookMapper;

    @Override
    public IPage<Book> selectBywrapper(IPage<Book> page, Wrapper<Book> queryWrapper) {
        return bookMapper.selectBywrapper(page,queryWrapper);
    }
}
